Generating highly balanced sudoku problems as hard problems
نویسندگان
چکیده
Sudoku problems are some of the most known and enjoyed pastimes, with a never diminishing popularity, but, for the last few years those problems have gone from an entertainment to an interesting research area, a twofold interesting area, in fact. On the one side Sudoku problems, being a variant of Gerechte Designs and Latin Squares, are being actively used for experimental design, as in [8,44,39,9]. On the other hand, Sudoku problems, as simple as they seem, are really hard structured combinatorial search problems, and thanks to their characteristics and behavior, they can be used as benchmark problems for refining and testing solving algorithms and approaches. Also, thanks to their high inner structure, their study can contribute more than studies of random problems to our goal of solving real-world problems and applications and understanding problem characteristics that make them hard to solve. In this work we use two techniques for solving and modeling Sudoku problems, namely, Constraint Satisfaction Problem (CSP) and Satisfiability Problem (SAT) approaches. To this effect we define the Generalized Sudoku Problem (GSP), where regions can be of rectangular shape, problems can be of any order, and solution existence is not guaranteed. With respect to the worst-case complexity, we prove that GSP with block regions of m rows and n columns with m 6= n is NP-complete. For studying the empirical hardness of GSP, we define a series of instance generators, that differ in the balancing level they guarantee between the constraints of the problem, by finely controlling how the holes are distributed in the cells of the GSP. Experimentally, we show that the more balanced are the constraints, the higher the complexity of solving the GSP instances, and that Some of the results of this paper were presented in the Twenty-First Conference on Artificial Intelligence (AAAI-06) [2]. C. Ansótegui, R. Béjar, C. Fernández, C. Mateu Departament d’Informàtica i Enginyeria Industrial Universitat de Lleida Jaume II, 69, E-25001 Lleida, Spain. E-mail: {carlos,ramon,cesar,carlesm}@diei.udl.cat C. Gomes Department of Computer Science Cornell University Ithaca, NY 14853, USA. E-mail: [email protected]
منابع مشابه
Rating and Generating Sudoku Puzzles Based On Constraint Satisfaction Problems
Sudoku is a logic-based combinatorial puzzle game which people in different ages enjoy playing it. The challenging and addictive nature of this game has made it a ubiquitous game. Most magazines, newspapers, puzzle books, etc. publish lots of Sudoku puzzles every day. These puzzles often come in different levels of difficulty so that all people, from beginner to expert, can play the game and en...
متن کاملPuzzleJAR: Automated Constraint-based Generation of Puzzles of Varying Complexity
Engaging students in practicing a wide range of problems facilitates their learning. However, generating fresh problems that have specific characteristics, such as using a certain set of concepts or being of a given difficulty level, is a tedious task for a teacher. In this paper, we present PuzzleJAR, a system that is based on an iterative constraintbased technique for automatically generating...
متن کاملRating Logic Puzzle Difficulty Automatically in a Human Perspective
Logic puzzle games like Sudoku are getting popular for they are flexible in playing time and space and are useful in education. For puzzles, difficulty is arguably one of the most important factors in problem design. A problem too easy is boring, yet a problem too hard is frustrating. Providing problems with adequate difficulty to avoid boredom or anxiety is thus an important issue. In this pap...
متن کاملThere Is No 16-Clue Sudoku: Solving the Sudoku Minimum Number of Clues Problem via Hitting Set Enumeration
The sudoku minimum number of clues problem is the following question: what is the smallest number of clues that a sudoku puzzle can have? For several years it had been conjectured that the answer is 17. We have performed an exhaustive computer search for 16-clue sudoku puzzles, and did not find any, thus proving that the answer is indeed 17. In this article we describe our method and the actual...
متن کاملThe Balanced Wheat Supply Problem and a Heuristic Algorithm
Wheat is a strategic commodity, and so its distribution system is always one of the major issues facing countries. The cost of wheat distribution and storage and the differences in the nutrient content of different wheats, have caused complicated problems in the wheat supply chain. In addition to controlling distribution costs, it could enhance the quality of wheat through blending different ki...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- J. Heuristics
دوره 17 شماره
صفحات -
تاریخ انتشار 2011